﻿using System.ComponentModel.DataAnnotations;

namespace backend.Models
{
    public class RegisterModel
    {
        [Required(ErrorMessage ="请填写用户名")]
        public string username { get; set; }

        [Required(ErrorMessage = "请填写名称")]
        public string name { get; set; }

        [Required(ErrorMessage = "请填写密码")]
        public string pwd { get; set; }

    }
}
